<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/commonforback.jsp"%>
<s:bean name="edu.isquen.core.department.action.DepartmentUtil"
	id="deptUtil"></s:bean>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DataSource Content</title>
<link rel="stylesheet" href="<o:Url value="/resource/css/back/main.css" />" style="text/css" media="all" />
</head>

<body>
<form action="<s:url value='/core/datasource/save.action' />"
	id="contentform" name="contentform" method="post">
<div id="contentAct">
	<input name="Submit" type="submit" value="保存">
	<input name="reset" type="reset" value="返回">
</div>
<div id="contentDiv">
	<%@ include file="/common/actionMsg.jsp"%>
	<input type="hidden" name="valObj.id" value="<s:property value='valObj.id' />" />
	<table id="contentTable" width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>数据源名称：</td>
			<td>驱动类：</td>
		</tr>
		<tr>
			<td><input class="contentfield" id="name"
					name="valObj.name" type="text"
					value="<s:property value='valObj.name' />"></td>
			<td><input class="contentfield" id="driverClass"
					name="valObj.driverClass" type="text"
					value="<s:property value='valObj.driverClass' />"></td>
		</tr>
		<tr>
			<td>路径：</td>
			<td>用户名：</td>
		</tr>
		<tr>
			<td><input class="contentfield" id="url"
					name="valObj.url" type="text"
					value="<s:property value='valObj.url' />"></td>
			<td><input class="contentfield" id="username"
					name="valObj.username" type="text"
					value="<s:property value='valObj.username' />"></td>
		</tr>
		<tr>
			<td>密码：</td>
			<td>连接池数：</td>
		</tr>
		<tr>
			<td><input class="contentfield" id="password"
					name="valObj.password" type="text"
					value="<s:property value='valObj.password' />"></td>
			<td><input class="contentfield" id="poolsize"
					name="valObj.poolsize" type="text"
					value="<s:property value='valObj.poolsize' />"></td>
		</tr>
		<tr>
			<td>超时：</td>
			<td></td>
		</tr>
		<tr>
			<td><input class="contentfield" id="timeout"
					name="valObj.timeout" type="text"
					value="<s:property value='valObj.timeout' />"></td>
			<td></td>
		</tr>
	</table>
</div>
</form>
</body>
</html>
